package busmap.main;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceActivity;
 
public class Settings extends PreferenceActivity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                addPreferencesFromResource(R.layout.preferences);
                // Get the custom preference
                Preference customPref = (Preference) findPreference("customPref");

        }
}